﻿package com.wly.dynamicc
{
	public class DynamicObject
	{
		public var id:int = -1;
		public var action:Function;
		
		public function DynamicObject()
		{
		}
		
		public function onFrame():void
		{
			if(action != null)
			{
				action();
			}
		}
	}
}